﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="IT_Project_Monopoly._Default" %>
<%@ Register Src="GamePannel.ascx" TagName="GamePannel" TagPrefix="Game" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
        <Game:GamePannel ID="gPannel" runat="server"/>
        <asp:Button ID="butt" Text="Select next" runat="server" OnClick="click" />
        <br />
        <label>Player:</label>
        <asp:TextBox ID="money" runat="server" />
        <asp:Button id="addMoney" Text="Add money" runat="server" OnClick="addMoneyButton"/>
        <asp:Button ID="subMoney" Text="Sub money" runat="server" OnClick="subMoneyButton"/>
        <br />
        <label>Active Player:</label>
        <asp:TextBox ID="moneyActive" runat="server" />
        <asp:Button id="addMoneyActive" Text="Add money" runat="server" OnClick="addMoneyActivePlayer"/>
        <asp:Button ID="subMoneyActive" Text="Sub money" runat="server" OnClick="subMoneyActivePlayer"/>
        <br />
        <label>Mortgage</label>
        <asp:TextBox ID="mortName" runat="server" />
        <asp:Button ID="addMort" runat="server" OnClick="addMortgage"/>
        <br />
        <label>Trans. amount</label>
        <asp:TextBox ID="amount" runat="server" />
        <asp:Button id="addTrans" runat="server" OnClick="addTransaction"/>
        <br />
        <asp:Button ID="enableConts" Text="Enable" runat="server" 
            onclick="enableConts_Click" />
        <asp:Button ID="disableConts" Text="Disable" runat="server" 
            onclick="disableConts_Click" />
    </form>
</body>
</html>
